<?php

require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
    public function generatePageConfig()
    {
        sfConfig::set('newsOnIndex', 3);
        sfConfig::set('newsOnPage', 5);
        sfConfig::set('language_id', 1);
    }

    public function setup()
    {
        $this->generatePageConfig();
        $this->enablePlugins('mpRealityAdminPlugin');
        $this->enablePlugins('sfDoctrinePlugin');

      $this->enablePlugins('sfFormExtraPlugin');
  }
}
